package com.ygq.train.batch.controller;
import com.ygq.train.batch.openfeign.BusinessOpenFeign;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Resource
    BusinessOpenFeign businessOpenFeign;
    @GetMapping("/test")
    public String TestApi(){
        String s= businessOpenFeign.test();
        return s+"  Hello,World(Batch - Test)";
    }
}
